Equivalences of Statecharts
نویسندگان
چکیده
We present a new semantics of Statecharts that excludes failures and a compositional formulation of this semantics based on Labelled Transition Systems (LTS). We consider a hierarchy of LTS equivalences and we study their congruence properties w.r. to statechart operators. 1 I n t r o d u c t i o n Statecharts are a specification language for reactive systems, introduced originally in [4]. The Statecharts formalism belongs to the family of synchronous languages including also, for instance, Esterel [2] and Argos [6]. Statecharts are finite state machines having the appeal of visual formalisms such as statetransition diagrams and Petri nets, but unlike either of these, they offer facilities of hierarchical structuring of states and modularity, which allow high level description and stepwise development. Now when dealing with large specifications, conciseness is an important issue. It may be useful to be able to substitute specifications with equivalent more concise ones. In general, one wants to be able to interchange subsystems proved to be behaviourally equivalent. In the case of statecharts, one is interested in considering equivalent two statecharts that do not differ as regards input-output sequences of signals and their causal dependencies. We define a new semantics of statecharts that differs from the one defined in [8] insofar as in our case the semantics of a statechart is always defined. Next, following [9] (see also [10]), we represent statecharts by terms and we give a compositional semantics of statecharts by translating statechart terms into labelled transition systems (LTS). The agreement of the two semantics can be proved. Then we define equivalence of two statecharts as isomorphism of the respective LTS's. As this equivalence is too strong, we consider LTS equivalences studied in [3] and we investigate their congruence properties with respect to statechart and-composition and or-composition. 2 S t a t e c h a r t t e r m s Statecharts are a visual specification formalism which enriches state-transition diagrams by a tree-like structuring of states (leaves of such trees are called * Research partially supported by Esprit BRA 8130 LOMAPS.
منابع مشابه
A Graph Rewriting Framework for Statecharts Semantics
The purpose of the paper is to show that graph rewriting is a suitable environment to formalize semantics of speciication languages with dynamic features. This is exempliied considering Statecharts in a variant allowing dynamic creation of processes. Graph rewriting rules give the semantics of Statecharts in such interpretation. Standard Stat-echarts semantics can be recovered by suitably restr...
متن کاملEquivalences in Bicategories
In this paper, we establish some connections between the concept of an equivalence of categories and that of an equivalence in a bicategory. Its main result builds upon the observation that two closely related concepts, which could both play the role of an equivalence in a bicategory, turn out not to coincide. Two counterexamples are provided for that goal, and detailed proofs are given. In par...
متن کاملON THE USE OF KULSHAMMER TYPE INVARIANTS IN REPRESENTATION THEORY
Since 2005 a new powerful invariant of an algebra has emerged using the earlier work of Horvath, Hethelyi, Kulshammer and Murray. The authors studied Morita invariance of a sequence of ideals of the center of a nite dimensional algebra over a eld of nite characteristic. It was shown that the sequence of ideals is actually a derived invariant, and most recently a slightly modied version o...
متن کاملA Formal Testing Framework for UML Statechart Diagrams Behaviours: From Theory to Automatic Verification
In this paper we propose a formal testing framework for a behavioural subset of UML Statechart Diagrams (UMLSDs). A new formal operational semantics is defined, which uses the same core semantics introduced in previous work of ours but which is better suited for testing theory. The new semantics is proved consistent with our original one and is guaranteed to generate only finite state machines....
متن کاملTowards e cient model checking Statecharts: A Statecharts to Promela Complier
Harel proposes the graphical language statecharts [Har87] for specifying behavior of reactive systems. Statecharts extend Mealy machines by parallelism and hierarchy. The communication mechanism in statecharts is instantaneous broadcast and the concurrency model is maximal parallelism. Statecharts has been supported by the commercial Statemate tool for about 12 years now. There, statecharts are...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1996